home *** CD-ROM | disk | FTP | other *** search
- // Note: The map_size variables MUST be powers of 2!
- // This is because I'm using AND instead of MOD to clip coordinates.
-
- const map_size_x = 512;
- const map_size_y = 512;
-
- const clip_mask_x = map_size_x - 1;
- const clip_mask_y = map_size_y - 1;
-
- const scale_area = 2048;
- const scale_height = 128;
-
- const world_size_x = map_size_x * scale_area;
- const world_size_y = map_size_y * scale_area;
-
- const max_alt = 255;
- const min_alt = 0;
-
- typedef unsigned char map_t [ map_size_x ][ map_size_y ];
-
- extern map_t alt_map;
- extern map_t color_map;
-
- void WORLD_generate ( void );
-